package com.symaster.common.geom.show.node.api;

import com.symaster.common.geom.show.node.api.listener.SelectChangeListener;
import com.symaster.common.geom.show.node.api.listener.UnitChangeListener;

import javax.swing.*;
import java.util.List;

/**
 * @author yinmiao
 * @version 2023/7/7
 */
public abstract class MenuBase {

    public abstract String title();

    public abstract JComponent body();

    public List<UnitChangeListener> unitChangeListener() {
        return null;
    }

    public List<SelectChangeListener> selectChangeListener() {
        return null;
    }
}
